package dyyx.dto;

import java.util.HashMap;
import java.util.Map;

public class SystemMetrics{
	
	public long timestamp;
	
	public Map<String,String> data;
	
	
	public long time;
	
	public final Map<String,String> errorInfo = new HashMap<String,String>();
	

	
	@Override
	public String toString(){
		StringBuilder sb = new StringBuilder();
		sb.append(timestamp).append("\n").append(time).append("\n");
		sb.append("metrics \n").append(data).append("\n");
		sb.append("errors\n").append(errorInfo);
		
		return sb.toString();
	}

}
